home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
Lattice C v5.02 d4.adf
/
examples
/
debugger
/
rsrcs.cpr
< prev
next >
Wrap
Text File
|
1988-11-07
|
469b
|
14 lines
/* Display the Resources in the system */
execbase = import("00000004"x,4)
liboff = 336
nodebase = import(offset(execbase, liboff), 4)
'd " Address NT Pri Name"'
do while(import(nodebase,4) ~= "00000000"x)
nt = right(c2d(import(offset(nodebase,8),1),1),3)
pri = right(c2d(import(offset(nodebase,9),1),1),4)
namestr = import(import(offset(nodebase,10),4))
'd "$'||c2x(nodebase)||nt||pri||' \"'||namestr||'\""'
nodebase = import(nodebase,4)
end